package org.finesys.common.security.authentication.gitee;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class GiteeUserInfoResponse implements Serializable {

    private String gistsUrl;
    //仓库URL
    private String reposUrl;
    private String followingUrl;
    //自我介绍
    private String bio;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss'+08:00'")
    private LocalDateTime createdAt;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss'+08:00'")
    private LocalDateTime updatedAt;
    //企业备注名
    private String remark;
    //码云gitee唯一标识
    private Long id;
    //码云gitee登录用户名
    private String login;
    //类型
    private String type;
    //博客地址
    private String blog;
    //项目订阅地址
    private String subscriptionsUrl;
    //微博地址
    private String weibo;
    //公共仓库数
    private Integer publicRepos;

    private String email;

    private String organizationsUrl;
    private String staredUrl;
    //粉丝URL
    private String followersUrl;
    private String publicGists;
    //公共资料URL
    private String url;
    //接收事件URL
    private String receivedEventsUrl;
    //关注的仓库
    private Integer watched;
    //粉丝数
    private Integer followers;

    private String avatarUrl;
    private String eventsUrl;
    //空间URL
    private String htmlUrl;
    //关注的人
    private Integer following;
    private String name;
    //star数
    private Integer stars;

    //公司
    private String company;
    //职务
    private String profession;
    //微信
    private String wechat;
    //qq
    private String qq;
    //领英
    private String linkedIn;
    //异常消息
    private String message;

}
